Framework (
A-Z)
Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Name |
ldexp() |
Examples |
double c = ldexp(3, 2);
double d = ldexp(2, 4);
|
Description |
The ldexp() function multiplies a floating-point number by an integral power of 2. The ldexp() function returns the value of x times 2 raised to the power exp. |
Syntax |
ldexp(x, exp)
|
Parameters |
x |
double, float or int |
exp |
double, float or int |
|
Returns |
double |
Usage |
Application |
Updated on July 07, 2011 11:08:31pm PDT